package org.gaaidou.ptarmigan.springboot.idworker.impl;

import org.gaaidou.ptarmigan.springboot.idworker.IdWorker;

import java.util.UUID;

public class UuidWorker implements IdWorker<String> {
    @Override
    public String nextId() {
        return UUID.randomUUID().toString();
    }
}
